package com.java01.misc.bitwise;

public class BitShiftRight {
	
	public static void main(String[] args) {
		System.out.println("1>>0 = "+( 1>>0 ));
		System.out.println("2>>1 = "+( 2>>1 ));
		System.out.println("4>>2 = "+( 4>>2 ));
		System.out.println("8>>3 = "+( 8>>3 ));
		System.out.println("16>>4 = "+( 16>>4 ));
		System.out.println("32>>5 = "+( 32>>5 ));
		System.out.println("64>>6 = "+( 64>>6 ));
		System.out.println("128>>7 = "+( 128>>7 ));
		System.out.println("256>>8 = "+( 256>>8 ));
		System.out.println("512>>9 = "+( 512>>9 ));
		System.out.println("1024>>10 = "+( 1024>>10 ));
		System.out.println();
		System.out.println("1>>1 = "+( 1>>1 ));
		System.out.println("2>>1 = "+( 2>>1 ));
		System.out.println("4>>1 = "+( 4>>1 ));
		System.out.println("8>>1 = "+( 8>>1 ));
		System.out.println("16>>1 = "+( 16>>1 ));
		System.out.println("32>>1 = "+( 32>>1 ));
		System.out.println("64>>1 = "+( 64>>1 ));
		System.out.println("128>>1 = "+( 128>>1 ));
		System.out.println("256>>1 = "+( 256>>1 ));
		System.out.println("512>>1 = "+( 512>>1 ));
		System.out.println("1024>>1 = "+( 1024>>1 ));
	}
}
